projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0b7b21
)
(dired-copy-file): Handle file-date-error.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 1 Apr 1997 04:26:33 +0000
(
04:26
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 1 Apr 1997 04:26:33 +0000
(
04:26
+0000)
lisp/dired-aux.el
patch
|
blob
|
history
diff --git
a/lisp/dired-aux.el
b/lisp/dired-aux.el
index ebab6fee43882def7e823b82969c77e3b978051a..4588c8e8bcf0315c216d8e088582986165a08bde 100644
(file)
--- a/
lisp/dired-aux.el
+++ b/
lisp/dired-aux.el
@@
-949,7
+949,10
@@
Special value `always' suppresses confirmation.")
;;;###autoload
(defun dired-copy-file (from to ok-flag)
(dired-handle-overwrite to)
- (copy-file from to ok-flag dired-copy-preserve-time))
+ (condition-case ()
+ (copy-file from to ok-flag dired-copy-preserve-time)
+ (file-date-error (message "Can't set date")
+ (sit-for 1))))
;;;###autoload
(defun dired-rename-file (from to ok-flag)